/*
 * $Id: AppException.java 5 2014-07-25 09:43:44Z ratking $
 *
 * Copyleft (C) 2014 RatKing. All wrongs reserved.
 */
package cn.ratking.demo.jaws7.exception;

import javax.ejb.ApplicationException;

/**
 * 应用程序异常.
 * 一般在EJB方法中抛出，不会导致EJB事务回滚。
 */
@ApplicationException(rollback = false)
public class AppException extends RuntimeException {

    public AppException() {
        super();
    }

    public AppException(String message) {
        super(message);
    }

    public AppException(Throwable cause) {
        super(cause);
    }

    public AppException(String message, Throwable cause) {
        super(message, cause);
    }
}
